import http from '@/components/common/tui-request'


//获取计划列表
export const getProjectPlanList = (projectId) => {
	return http.request({
		url: `/project-plan/getProjectPlanList/${projectId}`,
		method: 'GET',
	});
};

//新增进度填报
export const addProgress = (projectPlanId,data) => {
	return http.request({
		url: `/progress/addProgress/${projectPlanId}`,
		data:data,
		method: 'POST',
	});
};

//通过projectPlanId获取任务信息
export const getTaskInfo = (projectPlanId) => {
	return http.request({
		url: `/progress/getTaskInfo/${projectPlanId}`,
		method: 'GET',
	});
};
